<% include ./common/header %>
<div class="container">
    <h2 class="title-content">个人信息收集</h2>
    <a href="/user" class="layui-btn btn">新增</a>
    <table class="table-container">
        <thead>
            <tr>
                <th>编号</th>
                <th>姓名</th>
                <th>性别</th>
                <th>职位</th>
                <th>工作年限</th>
                <th>个人评价</th>
            </tr> 
        </thead>
        <tbody>
            <% for (var i = 0; i < result.length; i ++) { %>
                <tr>
                    <td> <%= result[i].id %> </td>
                    <td> <%= result[i].name %> </td>
                    <td> <%= result[i].gender %> </td>
                    <td> <%= result[i].position %> </td>
                    <td> <%= result[i].working_years %> </td>
                    <td> <%= result[i].per_eval %> </td>
                </tr>
            <% } %>
        </tbody>
    </table>
</div>
<% include ./common/footer %>